
@time : 1000ms;
@count : 10;
.loading-box{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    >div{
        position: relative;
        top: 50%;
        left: 50%;
        width: 100px;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transform: translate(-50%,-50%)
    }
    .message-tip{
        position: absolute;
        bottom: 0;
    }
}

.message-loading {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    .line {
        height: 50%;
        width: 4px;
        position: absolute;
        border-radius: 6px;
        top: 0%;
        left: 50%;
        height: 8px;
        margin-top: -2px;
        transform-origin: 2px 20px;;
        animation: message-loading-fade @time infinite linear;
    }
    .line:nth-child(1){
        transform: rotate((1 - 1) * (360deg / @count));
        animation-delay: (1 - 1) * (@time / @count);
    }
    .line:nth-child(2){
        transform: rotate((2 - 1) * (360deg / @count));
        animation-delay: (2 - 1) * (@time / @count);
    }
    .line:nth-child(3){
        transform: rotate((3 - 1) * (360deg / @count));
        animation-delay: (3 - 1) * (@time / @count);
    }
    .line:nth-child(4){
        transform: rotate((4 - 1) * (360deg / @count));
        animation-delay: (4 - 1) * (@time / @count);
    }
    .line:nth-child(5){
        transform: rotate((5 - 1) * (360deg / @count));
        animation-delay: (5 - 1) * (@time / @count);
    }
    .line:nth-child(6){
        transform: rotate((6 - 1) * (360deg / @count));
        animation-delay: (6 - 1) * (@time / @count);
    }
    .line:nth-child(7){
        transform: rotate((7 - 1) * (360deg / @count));
        animation-delay: (7 - 1) * (@time / @count);
    }
    .line:nth-child(8){
        transform: rotate((8 - 1) * (360deg / @count));
        animation-delay: (8 - 1) * (@time / @count);
    }
    .line:nth-child(9){
        transform: rotate((9 - 1) * (360deg / @count));
        animation-delay: (9 - 1) * (@time / @count);
    }
    .line:nth-child(10){
        transform: rotate((10 - 1) * (360deg / @count));
        animation-delay: (10 - 1) * (@time / @count);
    }
}
@keyframes message-loading-fade {
    0% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}